When working with mains voltages, please observe all the applicable precautions first.......
To measure anything off the mains, you should really use a transformer for isolation.
For measuring current, you could go with something like this:
https://www.amazon.com/HiLetgo-Current- ... 83&sr=8-11
The transformer will provide the needed isolation. However, the output is an analog value of up to 1 VAC (fs input/output across 200 ohms). For the Pi, two things need to happen first - the input to the Pi needs to be limited to a maximum voltage of 3.3 volts, and the analog value needs to be converted to something you can send to the Pi. With this sensor, you will need an A-D converter. Either use an A to D converter with an I2C output to talk to the Pi, or use an integrator that will provide a variable speed pulse train output depending on the input. I would opt for the A to D converter for simplicity.
Because you're wanting to measure power, you're also going to have to sense the voltage. This is easily accomplished with a small step down transformer whose primary is connected across the mains feeding the pump, and the secondary voltage (which will be a known ratio of the primary) can be sent to the Pi. The math can be done in software.