What to say ?

I have a friend that just experienced a miscarriage, her second in two years. We were both pregnant and due exactly a month apart and we were so excited . Of course she's devastated and I want to be there for her but I have no idea what to say . Any ladies who have been through this before ? Was there anything anyone said that made you feel better ?