To get more storage on your iPad, you can go into the device's iCloud menu, where you can buy up to 2 TB of iCloud storage ...
You can buy more storage on an iPhone by going to your iCloud menu. Here's how to find that menu, and what it costs to upgrade your storage.