Consider that the connected USB-C Adapter/Hub and other connected devices also require power to operate - as does your external screen that presumably has its own power source. The Power Adapter obviously requires adequate capacity to power all connected devices - and ideally have sufficient output to simultaneously charge the iPad.
Your iPad iPad Pro requires at least 12W to charge - will optimally charge when using a USB-C 20W Power Adapter.
A higher-output Power Adapter provides a greater “power budget” - allowing other devices to receive power while maintaining the iPad’s maximum 20W charging rate. Will you will need assess your power needs to calculate your power budget. When using a USB-C hub will USB pass-through power, this connection will have a stated specification. While using a more powerful Power Adapter will cause no harm whatsoever, it will provide no significant benefit. Using a Power Adapter matched to the pass-through specification of the hub is ideal. If you are powering the external display over USB, then you will require considerably more power, typically 40W or greater.
As an example of calculating your power needs - a USB multiport hub may typically require 10W power; connected USB devices (external storage, keyboard, mouse etc) also draw additional power from the source (typically 2.5-10W each). If the connected load exceeds the available supply, the iPad may not charge - or may charge at a substantially slower rate. In extremis, both the iPad and Power Adapter will share the connected load - and the iPad may actually discharge its battery to make-up the shortfall in available power from a connected Power Adapter.
You should note that while Apple devices generally support USB PD, they do not support other charging standards - such as QC (Quick Charge).