Before the ride, something with a good mix of carbs. Some sugar, some starch, and enough fluid.
After the ride, same thing, to get carbs back. You can also have that as part of a regular meal.
During the ride, a hydration drink and perhaps some food along with it.