If you lose internet connection in the middle of a download, your download is automatically paused. The download will resume the moment you are connected again.
Good to know: By default, downloads occur only when connected to Wi-Fi. For details on how to change this, take a look at How do I manage my download data settings?