There are few formal, scientific studies about what to drink before exams, but the anecdotal evidence seems to point to water as the best beverage beforehand. It's important to get enough water so you don't become fatigued from dehydration. That said, you can get some water from drinking coffee or energy drinks.