Looking at 18F26K22 datasheet as sample, I2C shares SPI pins. Except SPI has data pin (SDA) separated as input (SDI) and output (SDO) pins.