Water is not your friend, both for the electrical system, and the chain drive. Others have suggested Muck Off for general cleaning. I just use a damp rag. For the chain, I spray WD40 on a rag for a quick wipe down.
Be sure to keep these cleaners away from your brakes!