TDF Tip #7: Cleaning the Bike
A clean bike is a happy bike. Take the time to do a little post ride maintenance and your bike will perform much better in subsequent rides.
Hot soapy water and a sponge works for most parts. For caked on grime, there are specific cleaning sprays available. Use specialized degreaser for the drivetrain (cassette, chain, crankset). To stop mud sticking on your next ride, spray the cleaned bike with a silicone aerosol, avoiding braking surfaces.
Check out this step-by-step guide for detailed instructions: https://www.bicycling.com/repair/a35386346/how-to-clean-bike/