I've had 2 bumps on the back of my neck. No pain, no redness, and they are about the size of a pea. What can the be?

Swollen glands. These could be reaction to recent infection or even irritation in the scalp which caused these nodes to develop. If you are concerned confirm with your md.