Post shaving?

Why do I have tiny,itchy bumps on my legs after I shave? I use shaving foam and I moisturize after. I wonder what's causing these bumps to appear. Help?