Dogs can have Gatorade, but Pedialyte is better for him and contains more electrolytes then Gatorade. Plus Gatorade tends to have to much sugar for any longer term usage. The pedialyte can be used over longer periods of time.
As for food, consider a diet of boiled chicken and rice. This is easier to digest for your dog and contains just enough protein and carbs to give him the energy he needs.