We have been there and have come out of the other side with a second gorgeous little girl, dont give up hope for one second.
In our case someone drove across the path of the wife and caused an accident which then seemingly caused a bleed which led us to think that is it. After numerous harrowing visits to the hospital for scans and more bleeds it transpired that the little one was literally hanging on by a thread, the sac was literally just attached to the wall.
We had months of worry following and it continued to a point where she was undersize so we thought we were going to have to have her by c-section very early. Again, scans week in week out followed but by staying positive(i feel) and eating healthily she hung un there until the expected date and came out very healthy.
Its an awful time it really is. However we came to the understanding that if it was not meant to be then that was the case. We both agreed that nature should take its cause and would have aborted if it looked like there was going to be issues due to what had happened (not everyones view and not an easy one but one we both agree is right and only fair on the unborn).
The early days are fraught with problems and its when your wifes body decides if its a keeper or not. Try look at it as nature just doing its thing if the worst comes to the worst. On a plus side, you are in a position where you can get to this stage, a lot simply can't. Keep positive both of you!