If by "they" you mean game developers, then they used a Game Dev. Kit purchased from Sony. If you want information on how you can create PSX games then just go a search on Google for "PSX Programming" or something like that. Here''s 2 sites I found quickly:
Site 1Site 2