I use NOW sports electrolyte "effer-energy" tablets. They have caffeine, b12, magnesium, calcium, and potassium.
Added flavor and fizzyness (and caffeine) are nice.
I drop a couple in a Nalgene and drink once dissolved. I buy them at natural grocers.
Electrolyte tablets