Would-be thieves caught in the act of home invasion