This is a wonderful idea. I bet all of us have little balls of yarn which would make some nice tiny hats.
Hats and small blankets, that's what they need? What about fetal demise pouches? I have seen patterns for those on the internet as well, and I know that parents really appreciate those.