Press H to direct hose.
The Firemen are emergency staff of your prison which are used to fight any fires that may break out in your prison.
Firemen can be summoned by using the "Emergencies" tab at the bottom of the screen. You can call a maximum of 2 fire engines at any time. Each fire engine carries 4 firemen. They will remain on the map until dismissed.
Firemen are moved around the prison by selecting them and then right clicking where you want them to go. You can select them by clicking on the Fire Icon in a blue box on the right hand side of the screen when they are present in your prison. You can also just click on each fireman individually to the right of the fire icon.
Firemen will automatically try and put out any fires near them, however, you can direct the spray by pressing and holding H and using the mouse to indicate where you'd like the water to be aimed at.
To dismiss the firemen, click on the H at the top right of their Fire Icon in the blue box, they'll then return to the firetruck and leave the map.