Once you have created an instance of the LiquidCrystal_I2C library, you can simply replace Serial.print() with lcd.print() (assuming that you called the instance lcd).
Once you have created an instance of the LiquidCrystal_I2C library, you can simply replace Serial.print() with lcd.print() (assuming that you called the instance lcd).