multiple DS18B20 to 16x2 LCD

Instead of this:

lcd.print(analogRead(sensorVal1));

use this:

lcd.print(sensors.getTempCByIndex(0));

and do the same for the other sensor.

You will need to know the address of at least one of the DS18B20s if you want to be able to which printed temperature corresponds to which DS18B20. The comments in the code that "0 refers to the first IC on the wire" and "1 refers to the second IC on the wire" are very misleading.

I explain how the DS18B20 sensors are enumerated on the bus in this thread and see also this thread where I post a sketch which lists 9 DS18B20 addresses and their bit-reversed form (which is the order used by the Dallas Temperature library).

Pete