Hi,
Hardware PWM is the PWM done by the hardware, ie the PIC itself.
Software PWM is the PWM done in the software, set the particular pin high, delay, low and delay.
CCP module is the hardware PWM that built-in in the PIC. The PWM period (frequency) is fixed by the value in PR2, and the duty cycle is determined by CCPR1L and CCP1CON. Once these setting are done, then the PWM will be generated on the CCP pin.
To adjust the duty cycle, just change the value in CCPR1L and CCP1CON.