When you drink coffee this elevates the heart rate and while this can be a good thing for exercising it, if you have existent problems then it is sometimes a bad move. For instance if you have high blood pressure then the increased heart rate is going to create more pressure pushing the blood around the body and thereby make you more likely to suffer a heart attack.