If it is a USB iPad, you can plug it into an external display. USB-C to USB-C monitor, or get a USB-C to HDMI or DVI adapter. You can also use a USB or Bluetooth mouse if the digitizer is broken.
Note: iPads only support USB-C displays that operate in "DisplayPort over USBC" mode, not "HDMI over USBC" mode (which requires more active circuitry), so only some USBC monitors will work. If you're worried, I suggest grabbing a DisplayPort-to-USBC dongle and plug it into the iPad that way.
See here for the difference: https://hackaday.com/2023/01/17/all-about-usb-c-high-speed-i...
And thank you HN. You’ve helped salvage an artist’s work. Hopefully procreate will back up their art to iCloud one day.