Totally normal! Hamsters randomly groom themselves at times and he/she just so happened to start grooming themselves while they were in your hand. Nothing to be worried about, in fact (this is just a personal opinion) I would be honored that a hamster trusts me enough to clean themselves on me haha