Blackholes can't be investigated. They are impassable terrain that may hold Antimatter resources. You need to build a starbase near the resources and upgrade it with a mining ring to harvest those.
If you are actually referring to wormhole anomalies, you need a ship with a survey module to investigate them.