S.E.
I agree with ruling out any medical issues first. And as unorthodox as it seems, giving them a gentle, little nip will do the trick. Even at the age of two, sometimes reality therapy is the best solution. You need to not be aggressive or angry when you do it. Just the next time he chews on you, chew on him. He'll get the message.