Tech firms have been criticised for the amount of tax they pay, but Facebook says it pays what is legally owed.