Coffee

I'm 7 weeks I went to my ob appointment Tuesday my doctor said 1-2 cups of coffee is okay I had my first small cup since finding out I'm pregnant and I'm a little dizzy is it just from not having any for awhile? Kinda scared 😟