The simplest way to set a 404 error page is by directly setting a 404 error message in the .htaccess file itself:
ErrorDocument 404 "<H1>Page not found</H1>"
If you already have a static HTML page that you'd like to use for 404 errors you can also directly point to that file with the .htaccess file as well:
ErrorDocument 404 /404.html