Step 1: Visit www.icloud.com on any browser, preferably Safari on your iOS device. Login with your iCloud account and select iCloud Drive. You can also use a desktop PC to visit the iCloud Drive.
Step 2: On the top right corner, tap your account name and find an option ‘iCloud Settings’. Enter into iCloud Settings.
Step 4: A window will show you which files you have deleted. From here you can recover deleted files from iCloud storage. Choose the files you would like to restore using the check box. Instead, you can go for all the files to restore if you want. Choose the Select All check box for that. Know that once you remove the file from your iCloud account, it holds the file for 30 days into your account before it completely removes from the system. If you can’t find the file you want to restore, then sadly it’s been over 30 days your file is discarded automatically and there is no way to restore it.