You can consume 5 to 10 ml of water per kilogram of body weight in the two to four hours before a workout
It is recommended that you consume 1 to 4 gm of carbohydrates per every 2.2 pounds (approx 1 kg) of body weight if you are planning to exercise for longer than an hour.