Lift up the rear wheel or put it on a work stand if you have one and give the cranks a vigorous spin in high gear. It'll knock most of the water off the chain and other drive train components. A few "bounces" against the ground help too. I'll sometimes put a fan on my bike after riding in the rain just help with drying. Clean and lube the chain and you should be ready for next time