Concerning dehydration, I've read that, on balance, coffee is not dehydrating.
Drinking caffeine–containing beverages as part of a normal lifestyle doesn't cause fluid loss in excess of the volume ingested. While caffeinated drinks may have a mild diuretic effect — meaning that they may cause the need to urinate — they don't appear to increase the risk of dehydration.
And I know where all the pit stops are on my bike routes.