Help using Adafruit I2C Controlled + Keypad Shield Kit for 16x2 LCD

 if (buttons) {
    lcd.clear();
    lcd.setCursor(0,0);
    if (buttons & BUTTON_UP) {
      //your code here
    }

    else { // your code here}

   }