It is strongly recommended that the electric bike should be cleaned at least once a month. Ideally, if you have more spare time, it would be even better to clean your bike every time after a ride.
When you scrub the electric bike, don't point a high-pressure hose directly at the e-bike's components, which may damage its waterproof seals. Even worse, it would force water into them and cause the malfunction of the machine. Therefore, just use a clean cloth.
Also, please pay more attention to dirt, sand, grit, and mud sticking in every part of the bike, such as in the derailleur, the chain, and around the wheels. Moreover, you should dry up your bike after washing it. The mechanic experts also advise the users to lubricate the chain, derailleur, cables, etc. After applying the lubricant to different parts of the bike, wait for several minutes and then wipe off the excess lubricant.
In all, keeping your bike clean and lubricated will make it move smoothly, enhance its life as well as ensure the bike works properly as it should.