Coffee and 8w pregnant

Hey ladies!! I'm 8w5d (3rd pregnancy, other two ended in miscarriage so praying to god this one sticks) I work 7am-4pm Monday-Friday, and I am horrible at sleep. It's 1am now and I have to be up in 4 and a half hours. I really want to start drinking coffee on those rough mornings, but if it's going to hurt my little bundle I will not even remotely try to do it. Just wanted to know if it would be safe or not? Or any personal experiences. I'm overly protective because I want this baby to stick so bad......