1-2 cups of coffee are medically fine. It won't likely have much of a significant effect on your health.
Cups or mugs? Most of us, when we pour a mug of coffee, pour about 12 ounces, which is a cup (8 oz) and a half. So if you have two mugs of coffee, you're actually drinking about 3 cups.