No, Devil May Cry 1 and 2 were not released for PC.
Both of those original titles were PlayStation releases. It was only later that the series came to PC, with Devil May Cry 3 and Devil May Cry 4 being the entries that made their way onto the platform. So if you are hoping to play the first two games on a computer, they were never officially ported, and your best options lie with the PlayStation originals or the later PC entries.