Perhaps you just need to sleep a bit more, so you will last longer without sleep during the day. This should be the first solution. Coffee is definitely not the solution here, as it may mess up with your sleep later on. What you might drink, is some green tea. It has a tiny little bit of caffeine, so it will give you a mild boost without affecting later sleep.