Hi chez. As with most viruses (human or animal!) it`s wise to take precautions like using an anti-bacterial handwash before you handle the hamsters or have to go into their cage for any reason. You could pop one of those surgical masks on aswell, although you might feel a bit daft!
Keep a clean hankie close by incase you need to sneeze into something and wash your hands right afterwards.
Humans can pass on things like strep throat and MRSA (we carry this up our noses where it can be swabbed from infected individuals) so it can be so easy to harbour an illness and not know that you have it. Children in particular can sneeze and cough a lot around small animals if they happen to have a cold or other sickness, so they too should use the same actions when in the room.