Pneumonia 3w newborns

So I am really upset I had my twins September 23 and I haven’t seen anyone and have been keeping people away. My cousin asked to come over and I finally said yes. She has a little one who is almost 2 today she messages me and said he’s in the hospital with possible pneumonia now I am literally so upset thinking my babies are going to get it. Her son has had a runny nose she said but he wasn’t at the house it was just her. Can she pass it to my babies through her?