A 30-year-old man who allegedly murdered a man in his 70s and beat him with a baseball bat on the New South Wales Central Coast remains in custody after a brief court appearance.