Chose what key you want the song to be in, look up a few chords that are in that key and then learn scales, then it'll be much more easy to freestyle on piano. Just a lil tip I thought I could share :)
I normally do chords with the long notes thats why the long notes sound so good. with chords I always go two spaces in between