Sometimes muscles do this for no apparent reason. Other times, it ca be due to a potassium deficiency or calcium magnesium deficiency. I would add these two minerals to your diet and see if that helps.
Also, sometimes pinched nerves can cause twitching. Possibly seeing a chiropractor might help as they can often help to release the pressure off the offending nerves.