Hearts lost 2-0 in the semi-final of the Scottish Cup after managing to push the tie at the Falkirk Stadium into extra-time.