If I recall correctly ... caffeine and foods high in fat etc ... tend to play with energy levels of the body and affect brain functioning to some degree ... that the non scientific answer.
If you must dring ... clean water is your best bet! I recall that drinking plenty of water helps to get oxygen to the brain.
Getting necessary sleep and exercise also help when PR.