Select Challenge mode. Get to the final level with all Bosses. Look for a red coin to appear during the final Boss fight, from one of the blue objects that appears from the Boss. Get the red coin and defeat the Boss to unlock the final two characters in gallery mode.