Print output on 16x2 LCD and Serial Monitor
If you are using clasical UNO, then pins 0 and 1 are Serial. Declaring lcd(1,... make LCD use the pin 1 too, so Serial is confused and garbled.

Use other pins for lcd and adjuct the wires acordingly.