The TTP posted an image of the men it had abducted on its social media channel and claimed responsibility for the attack