Here's an interesting you can try with the H2 database web console. Launch into your web console and login to your database. Click on the "INFORMATION_SCHEMA" tree and click the tables in that tree to navigate your tables' metadata and information.
Clicking around the "INFORMATION_SCHEMA" tree would also generate SQL statements for you to use.
If you are looking for "REFERENTIAL" type constraints which effective means foreign key constraints, you can click on the "CONSTRAINTS" node inside the "INFORMATION_SCHEMA" tree.
Essentially the automated web console would generate the following statement " SELECT * FROM INFORMATION_SCHEMA.CONSTRAINTS WHERE CONSTRAINT_TYPE = 'REFERENTIAL' " if you are looking for foreign key indexes.
Please try your hands on the wonderful web console which Thomas Mueller have made. It is simply amazing how a tiny jar file database engine could package in by default a beautiful and amazingly powerful web console which makes life so much easier for users.
H2 database is truely an impressive work.