As you've already seen my tutorial, you will have noticed that I use an opamp fed from a potential divider (to give 10V range), all you would need to change is the input resistor to give 20V range.
As the tutorial mentions, the TL341 is a precision voltage reference source, there are various different ones available - but they usually end in 341. The one I used actually came from an old VCR, they are commonly used in switchmode power supplies for the regulation - a lot of TV's and VCR's have them.
Wire it like my tutorial, I'm not sure which pins the 18F452 uses, so you will need to check the datasheet - presumably, like the 16F876, you will need to configure the chip correctly - the details in my tutorial should help you work it out.