On your question there is no definite answer how to play with AA or KK on pre flop. It is almost always worth lifting, and here on how many.... Here it is necessary to consider many factors - the position. how many players have joined the game before you as players before you have entered game, etc.
Generally all this is also in detail sorted long ago in books according to the theory of poker. It is necessary to read them carefully.