When I lost my twins, the heartfelt notes from people who were mere acquaintances meant the world to me. People closer to me didn't make the effort, largely because they didn't know what to say. People with more distance felt more comfortable expressing their sorrow, I guess.
Please consider making a donation to the March of Dimes, St. Jude's Hospital for Children, Newborns in Need (a great charity that provides assistance to premature babies and their families, but also provides burial clothes for babies who are too tiny to fit regular baby clothes--that meant so much to be able to bury my babies in beautiful, handmade clothes), or really any worthwhile charity. One acquaintance made a donation to his alma mater. I have no connection with that university at all, but it's sort of neat to know that my babies made a difference there, you know?
And, as hard as it is to eat and sleep at such a sad time, the family does need to eat. Home cooked meals, delivered meals from a restaurant they like, even gift cards to restaurants so they can pick up meals to go can help. You are so kind to be thinking of ways to show that you care. Bless you.