Source: MAME driver
To activate the secret characters input the following commands:
After inserting a coin (pushing a credit button), input
UP UP DOWN DOWN LEFT RIGHT LEFT RIGHT A B START
then you can use Mahou Daisakusen and Battle Garegga characters.