No reason to use h/w I2C perepherials. I suggest you to use s/w. It is available in MikroC. So you will be able to assign any free pins for I2C purpose.
But SPI is a high speed interface and I prefer to use it by h/w. Much faster.
Since PIC16F877A has only one hardware module that can do SPI or I2C, but not both at the same time, then you either need to change PIC, or use software for one or other function.
I know nothing about software I2C or software SPI.