You seem to be talking about two very different things:
- Photos stored in iCloud. Here would be the way to retrieve them. I do not think this pertains to your situation. iCloud: iCloud Photo Library overview
- iOS backup stored in iCloud. I suspect this is what you have done. This backup, however, would only contain photos from your Camera Roll, if you had one. Here is how to restore this backup. Restore your iPhone, iPad, or iPod touch from a backup - Apple Support