This is what boys do! You can talk to him and let him know that it's not appropriate to touch himself when people are around and that it must be done in private.
Perfectly normal though, Mama. Don't worry about it. I mean, he's got this thing just hanging there, I'd be curious too LOL