The best thing you can do for your cousin is be supportive. You can also help her with a 'safety plan' which typically will include having a code word (when you hear the code word you know shes in trouble and you need to go to her), having a spare cell phone he doesn't know about (even if it is disconnected she will still be able to call 911), Having a bag packed and hidden in the car or somewhere easily accessible, if they are arguing try to avoid rooms in the house where he can grab a weapon (staying out of the kitchen in case he grabs a knife). These are some helpful tips to try and stay safe in an abusive relationship.
Encourage her to get a stable job, money is a vital resource she will need if she decides to leave him. It is unusual for abusers to get physical before marriage. The fact he has already hit her is very concerning. Things will only escalate from there.
Once the child is born that adds another layer. When there are children involved it becomes much more difficult to get out.