I2C requires a pin to be an output and an input for correct communication: what should I declare in the TRIS reg ?
I2C is one of those commands that will set the TRIS for you. But like Alain said, you will want to control things at start up. I would set them as an input.

If you have floating pins set them as out puts.