Just bring food and drink on the ride. Unless you're really serious, just eating normally will be fine beforehand (make sure you have breakfast though if you don't normally).
In theory, you need to eat 1g of carbohydrate per kg of body weight per hour – just to give you an idea. Energy bars are good but not essential though I personally would avoid very sugary things like chocolate or haribo except for a quick sugar rush pick-me-up if you're feeling crap (eg go for snack bars, etc instead).
Drink before you get thirsty – that's usually drinking a fair bit more than you naturally feel like. Lucozade sport is good and easily available but so long as you're eating enough and it's not blazing hot (seems unlikely…) then plain water is fine too. A cheap energy drink is 1/3 or 1/2 OJ mixed with water and a pinch of salt.