Energy drinks contain caffeine which is the main stimulant of the nervous system. Too much caffeine augments the nervous system response, which leads to long-lasting contractions of muscles without relaxation causing muscle spasms, cramps, and twitching in your hands and feet. Caffeine also increases gastrointestinal motility, which causes excessive urination. This may result in dehydration and an increase in body temperature. Increased body temperature and dehydration can lead to muscle cramps.