If I am going 20-30 miles, I don't worry in the least about food intake. I take none with me and, in fact, I will often do the 30 miles before breakfast, and eat somewhere on the last leg.
I rarely drink more than 1/2 bottle of water on a 30 miler, whenever I feel like it.
I stop whenever I feel like it - depends on my mood that day.