From what I've been told, if your leg is in the six 'o' clock position then your knee should have a small bend in it if you sit on the seat.
In terms of the handlebars, it depends on the type of bike as to the height, for example on a road bike you have a lower and more aerodynamic position.