In all my races to date (olympic and shorter) I've used MTB pedals and shoes so I can run through transition and do the flying mount and dismount.
I'll be doing my first half and full iron distance races this year. For those I'll be using road pedals and shoes because the extra few seconds in transition won't matter as much.
.