もしも僕に心があるならどうやってそれをみつければいいの
I understand the sentence translates along the lines of "If I had a heart, how would I find it?" And I know "いい" means "good/fine/etc" but I'm not sure how to fit that into the translation. Unless it's serving as another word I don't know.
Thanks for the help!