Hospital restrictions made exciting time nerve-racking for soon-to-be parents