Whenever you scry, you may pay {2}. If you do, Knowledge and Power deals 2 damage to any target.
Knowledge and Power's ability triggers only once each time you scry, no matter how many cards you look at.
You choose the target of the ability as it's put on the stack. You choose whether to pay {2} as it resolves. You can pay {2} only once each time you scry.