Highlight cells or Select All (CTRL + A) then: Menu bar - Format - Cells - Border - (Choose line style) - Outside - Inside - OK
I'm assuming you want to print the grid... File > Page Setup, then go to the Sheet tab. On that page, under Print, there's a checkbox called "Gridlines".