Hi, Kriz
You can refer the Microelectronics Circuit by Sedra and Smith in which you can find out the Two stage CMOS opamp with PMOS differential input pair ( Chapter: Oparational Amplifier and Data Converter Circuit ). By the way It is quiet easy to find the ICMR range.
For Max input traverse from Vdd to Vin and try to make Vin maximum, hence Vds = Vdsat.
For minimum Vin traverse from Vin towards Vss/ GND. To make Vin minimum, ensure that all MOSFET in this path are just in saturation i.e. Vds = Vdsat.