Question: how did quicksilver and scarlet witch get their powers?
Answer: They were promised experimental superpowers aided by Loki's scepter (which contained one of the six infinity stones, the mind stone) to reward their loyalty. As seen in Age of Ultron, these experiments went awry for other participants, but Scarlet Witch and Quicksilver were the only ones to survive.