Power-on reset.
Any number of button presses for any length of time adds up to 23 seconds of press time.
At 23 seconds, pump is activated for 2 seconds, no matter what the button state is.
After 2 seconds the pump stops, the time counter resets to zero and starts accumulating press time again.
Yes / No ?
-------------------------
What power source is available for the circuit? What is the load the output is controlling? Can it be switched with a transistor, or does it have to be a relay?
This can be done with one chip and a few diodes and passive components. If a CD4060 has its oscillator running at 356 Hz, the Q14 output will go high 23 seconds after the Reset input is released.
With two decoding diodes (a wire-AND circuit), the motor will run for 2.15 seconds.
Q14 and the button input are wire-ORed to enable the oscillator.
I don't mind using a few diodes to decode states, but they make some people nervous. The wire-AND and wire-OR can be replaced by one quad NAND chip.
ak