They should have gotten married before this.
There are solid legal reasons (for the guy) to wait until after the baby is born. No competent lawyer would advise otherwise in most states.
Judge much?