The first book and film both contain the information, from a note pinned to the cloak on Christmas Morning. I cannot remember if the book quote is the same word for word but in the film Harry receives the cloak with the following note:
Your father left this cloak in my possession before he died. It is time it was returned to you. Use it well.
The note was from Dumbledore.
ETA: I have just checked -- Dumbeldore's note is identical in the book and the film.
For completion: Dumbledore reiterates the note at the end of Philosopher's Stone:
Harry:
And the invisibility cloak - do you know who sent it to me?
Dumbledore replies:
Ah - your father happened to leave it in my possession, and I thought you might like it.