One option for a switchable two handed weapon using a touchscreen could be to just assume the weapon is being used as a two handed weapon when there is no other shield or weapon being used. One hand is empty. It would also be a bit easier to use on the computer.
I think that is how Final Fantasy 5 does it when using the double handed skill, which is a game you can play on mobile devices.