Add a socket on the weapon on the place where you want to place the second hand.
Inside the animation blueprint add a two bone IK node and as the target position choose the weapon (2nd hand) socket position.
As the chain you would need to use the shoulder, elbow and hand.
You might also need a pole vector setup for the elbow direction if it behaves weird (twists in the wrong direction)