What I do is place on a stand my bike, remove wheels and clean them individually, clean the cog with a hard brush and degreaser, and then with a rag. Then I do the same with the chain, finishing with water and drying it. It's important to clean with a brush the inner part of the chain.
After that, I keep the bike on the stand until next day and apply lube before riding. In my case I have Sram Red (well, now it's a mix of Red, Force, Apex and Rival
