1. From your dashboard, go to the Appearance > Customize >Theme Page Templates> 404 Error Page

 

2. Now add the Title, Subtitle, Text, Button Text, and Button Link in fields  


3. Hit on the Publish



See Live Preview:-