You need a Regemerator from the store, or 2 for empowered gems, then you can unsocket them and put them into your inventory. As long as you have enough, you simply click and drag the gem out.