You've answered your own question. The two clocks are needed because they do different things.
The 74xx95 shift register can operate in two different modes, as selected by the S pin (pin 6). If S is high, a falling edge (high to low transition) on CP2 causes the data on the four parallel inputs (pins 2, 3, 4 and 5) to be transferred into the 4-bit shift register. If S is low, a falling edge on CP1 causes the data in the shift register to shift along by one bit.
The outputs of all stages of the shift register are available on pins 10~13. The last stage output is on pin 10. This is the pin you would use when converting parallel data to serial.
The 74xx95 appears to be obsolete. Why are you studying it?
Edit: If you're asking why there are two separate clock pins when only one clock can ever be active at a time, I guess it's for convenience. The designer will usually have those two clocks on separate signals in his/her circuit, and if there was only one clock input on that IC, the two sources would have to be multiplexed onto it, according to the state of the S signal.