No exact answer can be given without knowing if the motor is fully loaded or not, and without knowing the motor efficiency.
As an approximation though, one HP=746 watts.
Therefore a 25 HP motor will have an output of 18.65 KW
The input will be more than this because the motor is not 100% efficient, we dont know what the losses are, but 10% might be a fair estimate.
That would give an input of about 20KW.
Multiply the prevailing cost per KWH in cents by 20, and that is the APPROXIMATE running cost in cents/hour, presuming that the motor is fully loaded.
It would be more accurate to fit a KWH meter and bill for the actual energy used.