To take a walk, simply click on your pregnant Sim and select Take A Walk. They will walk around the inside and outside of the hospital for a while. Even when doing these activities, it can still take quite a long time for your Sim to be fully dilated and give birth.