If one drinks caffeine, alternate with coffee and water. Both will guarantee to get you up at least once an hour and the water replenishes water lost from the caffeine.
Otherwise, individuals who drank nothing but caffeinated sodas would die of dehydration.