Why is it that my muscles keep twitching?

Many things. Could be anything from a very benign to serious condition. Excessive caffeine (benign), ALS (serious). If its a problem, please have it checked out.