iOS
If the iCloud account is properly configured on your device, then the game progress is automatically stored in the iCloud servers and can be restored at any time.
Android
Your progress will be automatically stored in the cloud after logging into Google Play Games in your device options.