There's already a lot of good advice here, but I really wanted to emphasize Scratch ( https://scratch.mit.edu/ ) as a first step. A 7 year old (2nd grader) and 9 year old (4th grader) should be able to navigate their way through Scratch. Start off by following the tutorial on the right panel when you create a new project. Once you're done with that, your cousins will probably be exploring on their own. Help their exp…
Better because portable, works offline, and the language itself is more sane (although I haven't checked recent versions of scratch)