rtos & pic18f452

i am doing a project which entails an interface between a keypad, LCD display, pic18f452 and a DATALogger using C programming. also i am using MPLAB IDE 6.40 to simulate.

can anybody help me on how to start implement C programming on the PIC, any tutorials or links will be helpful. also what is RTOS?